package com.sdhs.projectstart.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.sdhs.businessfile.domain.BusinessFile;
import com.sdhs.common.annotation.Excel;
import com.sdhs.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.util.Date;
import java.util.List;

/**
 * 项目开工申请
 *
 * @author may
 * @date 2023-07-21
 */
@Data
public class ProjectStartWork extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 施工组织方案主键
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 关联项目id
     */
    @Excel(name = "关联项目id")
    private Long projectId;

    /**
     * 标题
     */
    @Excel(name = "标题")
    private String title;

    /**
     * 申请人
     */
    @Excel(name = "申请人")
    private String applicant;

    /**
     * 申请时间
     */
    @Excel(name = "申请时间")
    private String applyTime;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remarks;

    /**
     * 提交人姓名
     */
    @Excel(name = "提交人姓名")
    private String submitNickName;

    /**
     * 提交人用户名
     */
    @Excel(name = "提交人用户名")
    private String submitUserName;

    /**
     * 提交时间
     */
    @Excel(name = "提交时间")
    private String submitTime;

    /**
     * 审批状态
     */
    @Excel(name = "审批状态")
    private String approvalStatus;

    /**
     * 流程实例ID
     */
    @Excel(name = "流程实例ID")
    private String instanceId;

    /**
     * 创建人
     */
    @Excel(name = "创建人")
    private String creater;

    /**
     * 修改人
     */
    @Excel(name = "修改人")
    private String updater;

    /**
     * 是否删除
     */
    @Excel(name = "是否删除")
    private String isDelete;

    /**
     * 附件
     */
    private List<BusinessFile> fileList;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 项目名称 */
    @Excel(name = "项目编号")
    private String projectNumber;

}
